test.exe:test.cpp
	g++ -o $@ $^ -l pthread -std=c++11

.PHONY:
run:
	./test.exe

.PHONY:clean
clean:
	rm -f test.exe